package com.aaa.web.service.iemployeeservice;

import com.aaa.entity.Per;
import com.aaa.web.commons.EmpQuery;
import com.aaa.entity.Employee;
import com.aaa.web.commons.Result;

import java.util.List;
import java.util.Map;
/** 
* @program:
* @description:
* @author:
* @create:
**/
public interface IEmployeeService {
    Map getAllEmployee(EmpQuery query,Integer id);

    Employee getEmployeeById(String telephone);

    List<Per> getAllRole(Integer id);

    Result updateRole(int[] array, Integer id);

    Result addEmp(Employee emp);

    Result updateEmp(Employee emp);

    Result updateEmpState(Employee emp);
}
